//File: Startup.java

package model;

import server.Server;

/**
 * Main method. Runs when program is started.
 * Runs the MainView class and connects to the database
 * 
 * @author Tobias Robinson
 */ 
public class Startup {    
  
    private static String argument = null;
    
    /**
     * Main method. Runs when program is started.
     * Runs the MainView class and connects to the database
     */ 
    public static void main(String[] args) {
        argument = args[0];
        new Startup().run();
    }
    
    /**
     * Main method. Runs when program is started.
     * Runs the MainView class and connects to the database
     */
    public void run()
    {
        new Server();        
    }

    public static String getArgument(){
        return argument;
    }
}

